package com.ysd.entity;

public class Designer { // 实体类,私有属性 + getset方法 + (带参/无参)构造方法 + toString
	private int designerid;
	private String designername;
	private String title;
	private String headportrait;
	private String phone;
	private String email;

	public int getDesignerid() {
		return designerid;
	}

	public void setDesignerid(int designerid) {
		this.designerid = designerid;
	}

	public String getDesignername() {
		return designername;
	}

	public void setDesignername(String designername) {
		this.designername = designername;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getHeadportrait() {
		return headportrait;
	}

	public void setHeadportrait(String headportrait) {
		this.headportrait = headportrait;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Designer(int designerid, String designername, String title, String headportrait, String phone,
			String email) {
		super();
		this.designerid = designerid;
		this.designername = designername;
		this.title = title;
		this.headportrait = headportrait;
		this.phone = phone;
		this.email = email;
	}

	public Designer() {
		super();
	}

	@Override
	public String toString() {
		return "Designer [designerid=" + designerid + ", designername=" + designername + ", title=" + title
				+ ", headportrait=" + headportrait + ", phone=" + phone + ", email=" + email + "]";
	}

}
